package hipro.entities;

public class Users {
	private int userId;
	private String username;
	private String password;
	private int distance;
	private int age;
	private String fullname;
	private int countryId;
	private String img;
	
	
	public void setUserId(int userId){
		this.userId = userId;
	}
	
	public int getUserId(){
		return this.userId;
	}
	
	public void setUsername(String username){
		this.username = username;
	}
	
	public String getUsername(){
		return this.username;
	}
	
	public void setPassword(String password){
		this.password = password;
	}
	
	public String getPassword(){
		return this.password;
	}
	
	public void setDistance(int distance){
		this.distance = distance;
	}
	
	public int getDistance(){
		return this.distance;
	}
	
	public String toXml(){
		String xml = "";
		xml += "<user_id>"+this.getUserId()+"</user_id>";
		
		return xml;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getAge() {
		return age;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getFullname() {
		return fullname;
	}

	public void setCountryId(int countryId) {
		this.countryId = countryId;
	}

	public int getCountryId() {
		return countryId;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getImg() {
		return img;
	}
}
